package com.hcy.controller;

import com.hcy.domain.Student;
import com.hcy.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;

@org.springframework.stereotype.Controller
public class Controller {
    @Autowired
    private StudentService studentService;
    public Student getStudent(){
        Student student = studentService.getStudent();
        return student;
    }
}
